<form class="layui-form" action="" method="post" name="myform" id="myform">
	<div class="manniucms-sub-content">
		<div class="layui-box">
			<fieldset class="layui-elem-field">
				<legend>栏目添加</legend>
				<div class="layui-field-box">
					<div class="layui-form-item">
						<label class="layui-form-label">上级栏目：</label>
						<div class="layui-input-block">
							<select name="pid" lay-verify="required">
								<option value='0'>顶级栏目</option>
								{$categorys}
							</select>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">栏目名称：</label>
						<div class="layui-input-block">
							<input type="text" name="name" id="mn_name" onblur="mn_topinyin('dirname','name', 1);" required lay-verify="required" placeholder="栏目名称" autocomplete="off" class="layui-input">
							<div class="layui-form-mid">栏目的一个名称，如“玄幻”、“修真”等</div>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">栏目目录：</label>
						<div class="layui-input-block">
							<input type="text" name="dirname" id="mn_dirname" required lay-verify="required" placeholder="栏目目录" autocomplete="off" class="layui-input">
							<div class="layui-form-mid">栏目目录确保唯一，用于url填充或者生成目录，如“china”等</div>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">首字母：</label>
						<div class="layui-input-block">
							<input type="text" name="letter" id="mn_letter" required lay-verify="required" placeholder="首字母" autocomplete="off" class="layui-input">
							<div class="layui-form-mid">a-z单个字母，不区分大小写</div>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">是否显示：</label>
						<div class="layui-input-block">
							<input type="radio" name="show" value="1" title="是" checked>
							<input type="radio" name="show" value="0" title="否">
						</div>
					</div>
				</div>
			</fieldset>
		</div>
	</div>
	<!-- 底部 -->
	<div class="manniucms-sub-footer">
		<div class="layui-box msf-box text-center">
			<div class="layui-inline">
				<button class="layui-btn" lay-submit><i class="layui-icon">&#xe60a;</i> 保存</button>
				<button type="button" class="layui-btn layui-btn-primary goback"><i class="layui-icon">&#xe603;</i> 返回</button>
			</div>
		</div>
	</div>
</form>